package com.nanychuan.blogback.service;

import com.nanychuan.blogback.pojo.User;

/**
 * @author 往
 */
public interface UserService {
    User login(User user, String code, String rightCode);

    void verifyOldPwd(String oldPassword, User user);

    void updateUser(User user);

    User blogLogin(User user);
}
